package cn.edu.wynu.oop.shape;

public class TestSquare {
    public static void main(String[] args) {
        Shape square1 = new Square("正方形1", 2);
        Shape triangle1 = new Triangle("三角形1", 2, 2);
        System.out.println(square1.returnSize());
        System.out.println(triangle1.returnSize());

        Round round = new Round("圆", 3);
        System.out.println(round.returnSize());
    }
}
